<template>
	<view class="content">
		<htz-signature @sumbit="sumbit" cid="ceshi1"></htz-signature>
	</view>
</template>

<script>
	import htzSignature from '../../components/htz-signature/htz-signature.vue'
	export default {
		data() {
			return {
				ctx:'',	//绘图图像
				points:[] //路径点集合
			}
		},
		components: {
			htzSignature,
		},
		mounted() {
			this.$nextTick(function() {
			});
		},
		onLoad() {
			// 调用接口拿图片并保存在本地
		},
		methods:{
			sumbit(res){
				console.log(res.tempFilePath)
				uni.setStorageSync('image', res.tempFilePath)
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>
